package com.business.dao;

import com.business.domain.CarRefProvince;
import com.business.domain.CarRefProvinceExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("carRefProvinceMapper")
public interface CarRefProvinceMapper {
    int countByExample(CarRefProvinceExample example);

    int deleteByExample(CarRefProvinceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CarRefProvince record);

    int insertSelective(CarRefProvince record);

    List<CarRefProvince> selectByExample(CarRefProvinceExample example);

    CarRefProvince selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CarRefProvince record, @Param("example") CarRefProvinceExample example);

    int updateByExample(@Param("record") CarRefProvince record, @Param("example") CarRefProvinceExample example);

    int updateByPrimaryKeySelective(CarRefProvince record);

    int updateByPrimaryKey(CarRefProvince record);
}